﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using CarsBll;
using CarsModel;
using System.Web.Http.Results;  

namespace SencondHandCarBuyAndSell1._0.Controllers
{
    public class CarsModelsController : ApiController
    {
        CarsModelsBll bll = new CarsModelsBll();
        public JsonResult<List<CarsModels>>  GetCarsModelsShow()
        {
            List<CarsModels> list = bll.CarsModelsShow();
            return Json<List<CarsModels>>(list);
        }
    }
}
